﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TimeSheet.Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>TimeSheet</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>
    <script type="text/javascript" src="js/site.js"></script>
    <script src="js/json2.js"></script>
    <link rel="stylesheet" href="css/site.css" />
    <link rel="shortcut icon" href="img/icone.png" />
</head>
<body>
    <form id="form1" runat="server">
        <div style="background: black; height: 30px; margin: 0px; padding-top: 4px; padding-left: 3px;">
            <div style="width: 900px; margin: 0 auto;">
                <a href="http://sw-svtf01:8080/tfs/" target="_blank">
                    <img src="img/teamfoundation.png" alt="Team Foundation" />
                </a>
                <a href="http://sw-svsp01/sites/intranet/_layouts/15/start.aspx#/SitePages/P%C3%A1gina Inicial.aspx" target="_blank">
                    <img src="img/intranet.png" alt="Intranet" />
                </a>
                <a href="http://mail.way.com.br/" target="_blank">
                    <img src="img/email.png" alt="Email" />
                </a>
            </div>
        </div>
        <div style="width: 900px; margin: 0 auto;">
            <div style="width: 225px; margin: 0 auto; margin-top: 20px; margin-bottom: 20px;">
                <a href="http://www.way.com.br" target="_blank">
                    <img src="img/logo.png" alt="Softway Tecnologia em Informática" />
                </a>
            </div>
            <div style="width: 420px; margin: 0 auto; margin-top: 20px; margin-bottom: 20px; font-size: 12px;">
                Selecione o Usuário:
                <asp:DropDownList runat="server" ID="ddlUsuario" CssClass="textbox" Style="width: 300px;" AutoPostBack="True" OnSelectedIndexChanged="ddlUsuario_OnSelectedIndexChanged" />
            </div>
            <fieldset style="width: 780px; border: solid 1px silver; font-size: 14px; float: left;">
                <legend>Novo Apontamento</legend>
                <asp:TextBox runat="server" ID="txtIDTarefa" placeholder="ID" CssClass="textbox" Style="width: 70px;" tipo="INTEIRO6"></asp:TextBox>
                <asp:TextBox runat="server" ID="txtNomeTarefa" placeholder="Nome da Tarefa" CssClass="textbox" Style="width: 350px;" ReadOnly="True"></asp:TextBox>
                <asp:TextBox runat="server" ID="txtData" CssClass="textbox" placeholder="00/00/0000" Style="width: 80px;" tipo="DATA"></asp:TextBox>
                <asp:TextBox runat="server" ID="txtTempo" placeholder="00:00" CssClass="textbox" Style="width: 50px;" tipo="HORA"></asp:TextBox>
                <asp:Button runat="server" ID="btnAdicionar" Text="Adicionar" Style="font-family: tahoma" OnClick="btnAdicionar_OnClick" ToolTip="Inclui um novo apontamento de horas." />
                <asp:Button runat="server" ID="btnSalvar" Text="Salvar Alterações" Style="font-family: tahoma" ToolTip="Salva as alterações feitas no quadro de horas da semana selecionada." />
            </fieldset>
            <div style="float: left; margin-left: 20px;">
                <asp:ImageButton runat="server" ID="btnAtualizar" ImageUrl="img/refresh.png" Style="font-family: tahoma" OnClick="btnAtualizar_OnClick" ToolTip="Atualiza o quadro de horas da semana selecionada." />
            </div>
            <div style="clear: both;"></div>
            <div>
                <asp:Literal runat="server" ID="lblDivergencias"></asp:Literal>
            </div>
            <fieldset style="width: 875px; border: solid 1px silver; font-size: 14px;">
                <legend>Tarefas</legend>
                <div style="float: left;">
                    <asp:ImageButton ID="btnAnterior" runat="server" ImageUrl="img/seta_anterior.png" OnClick="btnAnterior_OnClick" Width="30" ToolTip="Voltar para a semana anterior." />
                </div>
                <div runat="server" id="timesheet" style="border: solid 1px silver; float: left;">
                </div>
                <div style="float: left;">
                    <asp:ImageButton ID="btnProxima" runat="server" ImageUrl="img/seta_proximo.png" OnClick="btnProxima_OnClick" Width="30" ToolTip="Vai para a próxima semana." />
                </div>
                <div style="clear: both;"></div>
            </fieldset>
        </div>
    </form>
</body>
</html>
